package com.example.mapstructexample.vo;

import com.example.mapstructexample.enums.FoodType2;

public class FoodVo {

    private String name;

    private String price;

    private String weight;

    private String productionDate;

    private FoodType2 foodType2;

    private FoodVo() {
    }

    public static FoodVo getInstance() {
        return new FoodVo();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }

    public FoodType2 getFoodType2() {
        return foodType2;
    }

    public void setFoodType2(FoodType2 foodType2) {
        this.foodType2 = foodType2;
    }

    @Override
    public String toString() {
        return "FoodVo{" +
                "name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", weight='" + weight + '\'' +
                ", productionDate='" + productionDate + '\'' +
                ", foodType2=" + foodType2 +
                '}';
    }
}
